/*
 * @Author: 孙开源 && sunkaiyuan@namenode.cn
 * @Date: 2023-02-07 08:50:21
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @LastEditTime: 2023-11-05 14:41:01
 * @Description:
 *
 */
import config from "@/config";

export default {
	apply: {
		list: {
			url: `${config.API_URL}/purchase/apply/list`,
			name: "采购申请单",
		},
		save: {
			url: `${config.API_URL}/purchase/apply/save`,
			name: "保存申请单",
		},
		delete: {
			url: `${config.API_URL}/purchase/apply/delete`,
			name: "删除申请单",
		},
	},
	order: {
		list: {
			url: `${config.API_URL}/purchase/order/list`,
			name: "采购订单",
		},
		info: {
			url: `${config.API_URL}/purchase/order/info`,
			name: "采购订单",
		},
		save: {
			url: `${config.API_URL}/purchase/order/save`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/purchase/order/delete`,
			name: "删除订单",
		},
		saveAndFinace: {
			url: `${config.API_URL}/purchase/order/saveAndFinace`,
			name: "记账订单",
		},

	},
	complaint: {
		list: {
			url: `${config.API_URL}/purchase/complaint/list`,
			name: "订单主单",
		},
		details: {
			url: `${config.API_URL}/purchase/complaint/details`,
			name: "订单明细",
		},
		save: {
			url: `${config.API_URL}/purchase/complaint/save`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/purchase/complaint/delete`,
			name: "删除订单",
		},
	},
	storage: {
		list: {
			url: `${config.API_URL}/purchase/storage/list`,
			name: "进货单",
		},
		save: {
			url: `${config.API_URL}/purchase/storage/save`,
			name: "保存进货单",
		},
		delete: {
			url: `${config.API_URL}/purchase/storage/delete`,
			name: "删除进货单",
		},
		uploadAttachment: {
			url: `${config.API_URL}/purchase/storage/uploadAttachment`,
			name: "补传附件",
		},
		faudit: {
			url: `${config.API_URL}/purchase/storage/faudit`,
			name: "补传附件",
		}
	},
};
